package com.xyht.medicine_management_system.common.desEncodeAndDecode;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "config")
public class SecretConfig {
    @ApiModelProperty("后端数据加密开关 false 关闭  true 开启")
    private boolean encode_scan_switch;

    @ApiModelProperty("前端数据解密开关 false 关闭  true 开启")
    private boolean decode_scan_switch;
}
